Give your simulator superpowers

RocketSim: An Essential Developer Tool
as recommended by Apple

Issue 269
Apr 29, 2025

This week's SwiftLee Weekly covers:

  • On-Device AI Models
  • A single line that bricks your iPhone
  • What happens if you don't know the answer?

Enjoy this week's SwiftLee Weekly!

THIS WEEK'S BLOG POST

SwiftUI ForEach Explained with Code Examples

ForEach in SwiftUI is an essential element that we all use, but it can sometimes be confusing. The use of the Identifiable protocol is key, and an enumerated approach can help you make index-based adjustments for the presented content.

SPONSORED

What's the cost of not prioritizing mobile release management?

Join mobile leaders from Skyscanner and SoFi on May 22 to find out just how much your outdated mobile release processes are actually costing you—and learn the ROI of updating how you work and ship. Register for the live discussion.

CURATED FROM THE COMMUNITY

How On-Device AI Models Find Your Best Tinder Profile Photos

I had the opportunity to talk with Thomas personally about this feature, he demonstrated it, and I was blown away. Amazing feature and this article provides you a peek behind it!
medium.com

Fitting the Lapse experience into 15 MegaBytes

How do you reduce your app clip’s size to less than 15MB? Several steps and techniques can do this, and you’ll learn them in this article.
blog.jacobstechtavern.com

Unlocking the Real Power of Swift 6's Typed Throws with Error Chains

An interesting approach towards using typed throws to keep the returned error type consistent, even if another type of error gets thrown!
fline.dev

How a Single Line Of Code Could Brick Your iPhone

Guilherme Rambo reveals a critical iOS vulnerability where a single line of code using the Darwin notification API could trigger a fake “Restore in Progress” state. These articles always blow my mind.
rambo.codes

Drawing symbols with Canvas

The Canvas SwiftUI element lets you draw dynamic graphics efficiently in SwiftUI by using a GraphicsContext, giving you more control and better performance than stacking multiple views. Fun to play around with, but also essential to know it exists!
createwithswift.com

CODE SNIPPET OF THE WEEK

Loops with Labels

You can find this post on Twitter/X, LinkedIn, or Bluesky.

QUESTION OF THE WEEK

What happens if you get a question asked after a talk and you don't know the answer?

An interesting thing happened yesterday at my Deep Dish talk. I got a question and I didn't know the answer—yes, I don't know everything! I'm joking here, but somehow, people didn't expect me to say "I don't know".

There was even someone that found it the highlight of the Q&A. It shows that even those that write an article every week, that seem to be very knowledgeable, still don't know everything.

You might read this and think, of course that's how it is. But still, I believe it's important to emphasize this and that's also why I didn't doubt to say "I don't know" on stage. We're all learning, we're all developers, and you can't simply know it all.

Want to have your question answered next week? Ask your question via this form (anonymously) or reply to this email with your question.

{% if subscriber.rh_reflink != blank %}EARN ROCKETSIM LIFETIME

Share and Earn RocketSim Lifetime & a 1-on-1 coaching session

Apple has recognized RocketSim as an Essential Developer Tool in the Mac App Store, and now you can get lifetime Pro access by sharing your unique referral link!

How to get started:

{{subscriber.rh_reflink}}

Rewards:

  • Earn your first reward after just 3 sign-ups!
  • Check your progress anytime using your referral dashboard.
  • The grand prize? A personalized 1-on-1 career coaching session!

Several subscribers have already claimed their rewards—will you be next?{% endif %}

Thank you so much for your support, and until next Tuesday,

Antoine